const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  name: state => state.user.user.username,
  userId: state => state.user.user.userId,
  staffPhoto: state => state.user.user.staffPhoto
}
// 方便取值，快捷访问
export default getters
